package com.zjc.yohoshop.di.modules;

import com.zjc.yohoshop.mvp.contract.AddressListFragmentContract;
import com.zjc.yohoshop.mvp.model.AddressListFragmentModel;

import dagger.Module;
import dagger.Provides;

@Module
public class AddressListFragmentModules {

    private AddressListFragmentContract.AddressListFragmentIView iView;

    public AddressListFragmentModules(AddressListFragmentContract.AddressListFragmentIView iView) {
        this.iView = iView;
    }

    @Provides
    public AddressListFragmentContract.AddressListFragmentIView providerIView(){
        return iView;
    }

    @Provides
    public AddressListFragmentContract.AddressListFragmentIModel providerIModel(){
        return new AddressListFragmentModel();
    }

}
